Skip to content

Support added for RPi4#2

Draft
DesobedienteTecnologico wants to merge 25 commits intonewtonick:restructurefrom
DesobedienteTecnologico:rpi4_support
Draft

Support added for RPi4#2
DesobedienteTecnologico wants to merge 25 commits intonewtonick:restructurefrom
DesobedienteTecnologico:rpi4_support

Conversation

@DesobedienteTecnologico
Copy link
Copy Markdown

@DesobedienteTecnologico DesobedienteTecnologico commented Dec 1, 2022

Configuration added for RPi4:

✅ Due is not necessary to have a custom kernel in dev image, I removed it and pointed directly to the default kernel configuration.
⬜ Mount/Umount MicroSD (WIP)
⬜ Add pi4 build option to build.sh script


Some significant changes from others versions:

Raspberry Pi4 firmware variant added:

config_seedsigner.txt

  • start_file=start4x.elf
  • fixup_file=fixup4x.dat

genimage-rpi-seedsigner.cfg

  • "rpi-firmware/fixup4x.dat",
  • "rpi-firmware/start4x.elf",

pi4_defconfig / pi4-dev_defconfig

  • BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_X=y

Then of course custom Kernel configuration file was added with changes that belong to the new architecture and RPi firmware.

Configuration added for RPi4:

1. Due is not necessary to have a custom kernel in dev image, I removed it and pointed directly to the default kernel configuration.
2. [ ] Mount/Umount MicroSD (WIP)
@newtonick
Copy link
Copy Markdown
Owner

@DesobedienteTecnologico the microsd insert/remove notification works on pi4-dev config. Just tested it by pulling this PR locally and building using the config in pi4-dev.

@newtonick
Copy link
Copy Markdown
Owner

TODO item for this PR:

  • Add pi4 build option to build.sh script

@DesobedienteTecnologico
Copy link
Copy Markdown
Author

@DesobedienteTecnologico the microsd insert/remove notification works on pi4-dev config. Just tested it by pulling this PR locally and building using the config in pi4-dev.

Probably there is the need to add more Kernel modules on it.
I will check ASAP. Thanks for the feedback.

Restructure and add Docker from DT repo
Remove gzip of img file and remove the move command of the config folder
Add skip-build option to use with keep-alive
libncurses-dev is required to use `make menuconfig` and others menus.
The version change LGTM
Update build.sh to default to 0.5.2 release
…ses-lib_dockerfile

libncurses-dev added in Dockerfile
- Unexpected file mode change to 644 in last commit. Now is 755 again.
- Pi2 flag added. unintentionally deleted.
- Camera Kernel modules added.
- bootcode.bin remove. RPi4 do not need it to boot. Bootloader is on EEPROM.
Reference:
https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-4-boot-flow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants